package com.wocai.jrt.orgadmin.employee.bean;

import java.util.List;

import com.wocai.jrt.admin.common.bean.State;

/**
 * 部门树形bean
 * @author madequan
 * @date 2015年8月17日 下午8:01:37
 */
public class EmpGroupTreeBean {
	public static final String TYPE_DEF = "default";
	public static final String TYPE_FILE = "file";
	private String type = TYPE_DEF;
	
	private String id;//部门ID
	private String text;//部门名称
	private String employeeId;//部门负责老大
	private String employeeName;//部门老大名字
	private Boolean plannerGroup;//是否为理财师团队
	private String parent;//部门父节点ID
	private String orgId;//机构ID
	private List<EmpGroupTreeBean> children;//部门子节点
	private State state;//节点状态
	private String code;//节点代码
	private String icon;//节点图标
	
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getEmployeeId() {
		return employeeId;
	}
	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}
	public String getEmployeeName() {
		return employeeName;
	}
	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public List<EmpGroupTreeBean> getChildren() {
		return children;
	}
	public void setChildren(List<EmpGroupTreeBean> children) {
		this.children = children;
	}
	public State getState() {
		return state;
	}
	public void setState(State state) {
		this.state = state;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Boolean getPlannerGroup() {
		return plannerGroup;
	}
	public void setPlannerGroup(Boolean plannerGroup) {
		this.plannerGroup = plannerGroup;
	}
	
}
